QuickOPC User's Guide and Reference
ServerTimestampLocal Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UABaseVariable<TValue,TAttribute> Class : ServerTimestampLocal Property
Contains the server timestamp. In local time.
Syntax
'Declaration
 
<MappingTagAttribute("OpcLabs.EasyOpc.UA.Modelling.VariableValue")>
<UADataAttribute(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.Read Or  _
    UADataMappingOperations.Subscribe Or  _
    UADataMappingOperations.ReadAndSubscribe)>
Public Property ServerTimestampLocal As Date
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Date
 
instance.ServerTimestampLocal = value
 
value = instance.ServerTimestampLocal
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public DateTime ServerTimestampLocal {get; set;}
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public:
property DateTime ServerTimestampLocal {
   DateTime get();
   void set (    DateTime value);
}
Remarks

When writing, be aware that writing the server timestamp is not supported by some servers, including the OPC Foundation sample server.

Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UABaseVariable<TValue,TAttribute> Class
UABaseVariable<TValue,TAttribute> Members